import 'package:flutter/material.dart';

class SortPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    var card=new Card(
      child: Column(
        children: <Widget>[
         ListTile(
           title: Text("上海市宝山区",style:TextStyle(fontWeight:FontWeight.w500)),
           subtitle: Text("行知路251弄"),
           leading:Icon(Icons.ac_unit)
         ),
        //  分割线
         new Divider(),
         ListTile(
           title: Text("上海市宝山区",style:TextStyle(fontWeight:FontWeight.w500)),
           subtitle: Text("行知路251弄"),
           leading:Icon(Icons.ac_unit)
         ),
         new Divider(),
        ],
      ),
    );
    return new Scaffold(
        appBar: new AppBar(
          title: new Text('分类'),
        ),
        body: new Center(
          // child: Container(
          //   child: Text("这是分类界面"),
          //   // 对齐方式
          //   alignment: Alignment.centerLeft,
          //   // 宽高
          //   width: 500.0,
          //   height: 400.0,
          //   //颜色
          //   // color: Colors.lightBlue,
          //   // padding: const EdgeInsets.all(20),
          //   padding: const EdgeInsets.fromLTRB(50, 20, 100, 200),
          //   margin: const EdgeInsets.all(10),
          //   // 背景渐变色
          //   decoration: new BoxDecoration(
          //     gradient: LinearGradient(
          //       colors: [Colors.lightBlue,Colors.red,Colors.lightGreen]
          //     ),
          //     border: Border.all(width: 2.0,color: Colors.red)
          //   ),
          // )
          child: card,
        ),
    );
  }
}